﻿
//using UnityEngine.Purchasing;


public class Request_UpdateIntroduction : RequestBase
{

    public const string Key = "UpdateIntroduction";

    public UpdateIntroductioRequestData editIntroductionReqData = new UpdateIntroductioRequestData();

    protected override ISerialize requestData
    {
        get
        {
            return editIntroductionReqData;
        }
    }

    public Request_UpdateIntroduction() : base()
    {
        MessagePacket.key = Key;
    }

    public override void OnSend()
    {
        base.OnSend();

        GameDebug.Log($"发送 Update Introduction请求：{editIntroductionReqData.type}");
    }

    public override ResponseData NewResponseData() => new ResponseData();

    //public override ResponseBase GetResponseHandler()
    //{
    //    return new Response_UpdateIntroduction();
    //}
}
//public class Response_UpdateIntroduction : ResponseBase
//{
//    public override ResponseData NewResponseData() => new ResponseData();

//    public override void Excuate()
//    {
//        //GameDebug.LogShowy("Response_UploadBaseInfo -> Excuate");

//        var request = this.request as Request_UpdateIntroduction;

//        if (request.onResponse != null)
//            request.onResponse(this);
//    }

//}
